package cn.kgc.service;

import cn.kgc.dao.StuMapper;
import cn.kgc.pojo.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Rock
 * @create 2020-08-01 9:53
 */
@Service
public class StuServiceImpl implements StuService {
    @Autowired(required = false)
    private StuMapper mapper;
    @Override
    public List<Student> queryAll() {
        return mapper.queryAll();
    }
}
